package com.vercon.common.mode.openweather;

import java.util.List;

/**
 * Created by csh on 2021/4/1
 */
public class Pollution {

    private CoordBean coord;
    private List<ListBean> list;

    public CoordBean getCoord() {
        return coord;
    }

    public void setCoord(CoordBean coord) {
        this.coord = coord;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class CoordBean {
        private double lat;
        private double lon;

        public double getLat() {
            return lat;
        }

        public void setLat(double lat) {
            this.lat = lat;
        }

        public double getLon() {
            return lon;
        }

        public void setLon(double lon) {
            this.lon = lon;
        }
    }

    public static class ListBean {
        /**
         * dt : 1606147200
         * main : {"aqi":4}
         * components : {"co":203.609,"no":0,"no2":0.396,"o3":75.102,"so2":0.648,"pm2_5":23.253,"pm10":92.214,"nh3":0.117}
         */

        private int dt;
        private MainBean main;
        private ComponentsBean components;

        public int getDt() {
            return dt;
        }

        public void setDt(int dt) {
            this.dt = dt;
        }

        public MainBean getMain() {
            return main;
        }

        public void setMain(MainBean main) {
            this.main = main;
        }

        public ComponentsBean getComponents() {
            return components;
        }

        public void setComponents(ComponentsBean components) {
            this.components = components;
        }

        public static class MainBean {
            /**
             * aqi : 4.0
             */

            private double aqi;

            public double getAqi() {
                return aqi;
            }

            public void setAqi(double aqi) {
                this.aqi = aqi;
            }
        }

        public static class ComponentsBean {
            /**
             * co : 203.609
             * no : 0.0
             * no2 : 0.396
             * o3 : 75.102
             * so2 : 0.648
             * pm2_5 : 23.253
             * pm10 : 92.214
             * nh3 : 0.117
             */

            private double co;
            private double no;
            private double no2;
            private double o3;
            private double so2;
            private double pm2_5;
            private double pm10;
            private double nh3;

            public double getCo() {
                return co;
            }

            public void setCo(double co) {
                this.co = co;
            }

            public double getNo() {
                return no;
            }

            public void setNo(double no) {
                this.no = no;
            }

            public double getNo2() {
                return no2;
            }

            public void setNo2(double no2) {
                this.no2 = no2;
            }

            public double getO3() {
                return o3;
            }

            public void setO3(double o3) {
                this.o3 = o3;
            }

            public double getSo2() {
                return so2;
            }

            public void setSo2(double so2) {
                this.so2 = so2;
            }

            public double getPm2_5() {
                return pm2_5;
            }

            public void setPm2_5(double pm2_5) {
                this.pm2_5 = pm2_5;
            }

            public double getPm10() {
                return pm10;
            }

            public void setPm10(double pm10) {
                this.pm10 = pm10;
            }

            public double getNh3() {
                return nh3;
            }

            public void setNh3(double nh3) {
                this.nh3 = nh3;
            }
        }
    }
}